RichFaces Interview Questions and Answers
Question: What is rich:tree in RichFaces?Answer:The rich:tree component renders a tree control on the page. The most important tree features include the following:
< rich:tree id = "tree" nodeType = "#{node.type}" var = "node" value = "#{bean.rootNodes}" toggleType = "client" selectionType = "ajax" selectionChangeListener = "#{bean.selectionChanged}" > < rich:treeNode type = "country" > #{node.name} </ rich:treeNode > < rich:treeNode type = "company" iconExpanded = "/images/ctry.gif" iconCollapsed = "/images/tree/disc.gif" > #{node.name} </ rich:treeNode > < rich:treeNode type = "cd" iconLeaf = "/images/tree/cd.gif" > #{node.artist} - #{node.name} - #{node.year} </ rich:treeNode >
Is it helpful?
Yes
No
Most helpful rated by users:
|